package net.zjitc.service;

import net.zjitc.common.ResponseResult;
import net.zjitc.exception.PermissionException;

/**
 * @author 毛钰深
 * @create 2022/1/27
 */
public interface PermissionService {
    /**
     * 所有权限列表
     * @param type
     * @return
     */
    ResponseResult selectPermission(String type) throws PermissionException;

    /**
     * 左侧菜单权限
     * @return
     */
    ResponseResult selectLeftPermission(int rid);
}
